package com.kongjs.online.preview.controller;

import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@RequestMapping
@Controller
public class IndexController {

    @GetMapping
    public String index() {
        return "redirect:/onlinePreview";
    }
}
